package com.nutquest.common.mapdata;

import java.io.Serializable;

import com.nutquest.common.dataobjects.*;

/**
 * This Interface defines the level data. It will contain an array of Terrain
 * Objects.
 */
public interface IMapData extends Serializable {
	public Terrain[] getMapData();
	
	// returns the number of terrain blocks wide this map is
	public int getMapWidth();
	
	// returns the number of terrain blocks high this map is
	public int getMapHeight();
	
	public Terrain getTerrainAt(int x, int y);
	
	public void updateTerrain(Terrain aterr);
	
	public Player initializePlayerCoords(Player player);
}